package cn.edu.zafu.bigdata.x.xiejunjie;

public class Course {
    private String cid;
    private String cname;
    private String teacher;

    public Course(String id, String name, String teacher) {
        this.cid = id;
        this.cname = name;
        this.teacher = teacher;
    }

    public void print(){
        System.out.println("课程号："+cid);
        System.out.println("课程名："+cname);
        System.out.println("授课教师："+teacher);
    }
}

